/**
 * @author gaopeng
 * @date 2019/12/14 9:41 下午
 */
public class Context implements IStrategy {
    private IStrategy strategy;

    public Context(IStrategy strategy) {
        this.strategy = strategy;
    }

    @Override
    public void operate() {
        this.strategy.operate();
    }
}
